FROM centos:7
RUN yum -y update
RUN yum -y install vim net-tools
RUN yum install -y epel-release
RUN yum install -y nginx

LABEL maintainer="Qin Ke<collinsctk@qytang.com>"

ADD static /qytdjg/static/
ADD nginx.conf /etc/nginx/nginx.conf

CMD nginx
#CMD sh -c 'while true; do ((count++));echo "now count=$count";sleep 1;done'